package com.sh.suhe.utildemos.book.base;

import android.content.Context;
import com.bumptech.glide.Glide;
import com.liuguang.framework.base.BaseApplication;

public class App extends BaseApplication {
    public App() {
//        PlatformConfig.setWeixin(AppConfig.WX_AppID, AppConfig.WX_AppSecret);
//        PlatformConfig.setQQZone(AppConfig.QQ_AppID, AppConfig.QQ_AppKey);
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [android.content.Context, com.liuguang.framework.base.BaseApplication, com.xmread.cn.base.App] */
    public void onTrimMemory(int i) {
        App.super.onTrimMemory(i);
        if (i == 20) {
            Glide.get(this).clearMemory();
        }
        Glide.get(this).trimMemory(i);
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [android.content.Context, com.liuguang.framework.base.BaseApplication, com.xmread.cn.base.App] */
    public void onLowMemory() {
        App.super.onLowMemory();
        Glide.get(this).clearMemory();
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [android.content.Context, com.liuguang.framework.base.BaseApplication, com.xmread.cn.base.App] */
    public void onCreate() {
        super.onCreate();
//        initBugly();
//        initUmeng();
//        bookApp.init(this);
    }
}
